package com.gd.iot.energy.service.datamanage;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gd.iot.energy.po.datamanage.EquipInstructionValuePOWithBLOBs;
import com.gd.iot.energy.pojo.common.vo.PageVO;
import com.gd.iot.energy.pojo.datamanage.vo.InstructionPageVO;
import com.gd.iot.energy.pojo.statistics.vo.CalledDetailVO;
import com.gd.iot.energy.pojo.statistics.vo.ReceiveDetailVO;

/**
 * @author kris
 * @date 2020/8/13 0013 15:50
 */
public interface InstructionService extends IService<EquipInstructionValuePOWithBLOBs> {

    /**
     * 指令收发记录
     * @param equipmentType
     * @param archivesNum
     * @param areaName
     * @param archivesAddress
     * @param archivesName
     * @param beginDate
     * @param endDate
     * @param pageSize
     * @param pageNum
     * @param orderColumn
     * @param orderType
     * @return
     */
    PageVO<InstructionPageVO> getInstructionPageVO(Integer equipmentType, String archivesNum, String areaName, String archivesAddress, String archivesName, String beginDate, String endDate, Integer pageSize, Integer pageNum, String orderColumn, String orderType);

    /**
     * 发送指令详细
     * @param id
     */
    CalledDetailVO calledDetail(Integer id);

    /**
     * 接收指令详情
     * @param id
     * @return
     */
    ReceiveDetailVO receiveDetail(Integer id);
}
